#!/bin/bash
#
# Obtiene la LAN de Gestion
#
/sbin/ip a | grep br0 | grep inet | head -1 | perl -ne 'print "$1" if($_=~m/inet\s+(\d[^\/]+)\.1\//);'
